<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>个人资料</title>
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/base.css" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/m_index.css" />
	<link rel="stylesheet" type="text/css" href="__PUBLIC__/css/m_set.css" />
	<script type="text/javascript">
		var APP = '<?php echo "__APP__" ;?>';
	</script>
	<script type="text/javascript" src="__PUBLIC__/js/jquery-1.11.0.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/head.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/menu.js"></script>
	<script language="javascript" src="__PUBLIC__/js/YMDClass.js"></script>  
	<script type="text/javascript" src="__PUBLIC__/js/common.js"></script>
	<script type="text/javascript" src="__PUBLIC__/js/userinfo.js"></script>
	<!-- 为了保证IE载入以下文件 -->
	<script type="text/javascript" src="__PUBLIC__/Css/es5-shim/es5-sham.min.js"></script>
	<script type="text/javascript" src="__PUBLIC__/Css/es5-shim/es5-shim.min.js"></script>
	<!-- 载入less.js -->
	<script type="text/javascript" src="__PUBLIC__/Css/es5-shim/less-1.5.0.min.js"></script>
</head>
<body>
<load file="__PUBLIC__/head.html"/>

<!-- 主体部分 开始-->
<div id="main">
	<load file="__CONTROL_TPL__/left.html"/>
	<div id="right">
		<div class="my-set"><a href="{|U:'Member/basicInfo'}">基本信息</a><a href="{|U:'Member/userinfo'}" class="current">个人资料</a><a href="{|U:'Member/address'}">收获地址</a></div>
		<div class="info-form">
			<form name="upface" action="{|U:'Member/face'}" method="post" enctype="multipart/form-data">
			<div class="form-left">
				<if value="$userinfo['face']">
					<img src="__ROOT__/{$userinfo['face']}" width="180" height="180" alt="" />
					<else>
					<img src="__PUBLIC__/images/user-face.png" width="180" height="180" alt="" />
				</if>
				
				<input type="button" name="upbtn" class="upbtn" value="修改图像" />
				<input type="file" name="face" id="" style="display:none" />

				<p>支持JPG，JPEG，GIF，PNG，BMP，且小于5M</p>
			</div>
			</form>
			<form action="{|U:'Member/userinfo'}" method="post">
			<div class="form-right">
			
				<div class="info-item">
					<label for="">性别：</label><input type="radio" name="sex" <if value="$userinfo['sex'] eq 0">checked="checked"</if> value="0" />男&nbsp;&nbsp;<input type="radio" name="sex" id="" value="1" <if value="$userinfo['sex'] eq 1">checked="checked"</if> />女
				</div>
				<div class="info-item">
					<label for="">生日：</label>
					<select name="year1"></select>年 
					<select name="month1"></select>月 
					<select name="day1"></select>日 
				</div>
				<script>
					new YMDselect('year1','month1','day1');
				</script>
				<div class="info-item">
					<label for="">身份：</label><input type="radio" name="shenfen" <if value="$userinfo['shenfen'] eq 1">checked="checked"</if> value="1" />学生&nbsp;&nbsp;<input type="radio" name="shenfen" value="2" <if value="$userinfo['shenfen'] eq 2">checked="checked"</if> />在职&nbsp;&nbsp;<input type="radio" name="shenfen" value="3" <if value="$userinfo['shenfen'] eq 3">checked="checked"</if> />自由职业&nbsp;&nbsp;<input type="radio" name="shenfen" value="4" <if value="$userinfo['shenfen'] eq 4">checked="checked"</if> />其他&nbsp;&nbsp;
				</div>
				<div class="info-item">
					<label for="">个人情况：</label><input type="radio" name="qingkuang" <if value="$userinfo['qingkuang'] eq 1">checked="checked"</if> value="1" />单身&nbsp;&nbsp;<input type="radio" name="qingkuang" value="2"<if value="$userinfo['qingkuang'] eq 2">checked="checked"</if> />恋爱中&nbsp;&nbsp;<input type="radio" name="qingkuang" value="3"<if value="$userinfo['qingkuang'] eq 3">checked="checked"</if> />已婚&nbsp;&nbsp;<input type="radio" name="qingkuang" value="4" <if value="$userinfo['qingkuang'] eq 4">checked="checked"</if>/>保密&nbsp;&nbsp;
				</div>
				<div class="info-item">
					<label for="">兴趣：</label><input type="checkbox" name="hobby[]"<if value="in_array(1,$userinfo['hobby'])">checked="checked"</if> value="1" />美食&nbsp;&nbsp;<input type="checkbox" name="hobby[]" value="2"<if value="in_array(2,$userinfo['hobby'])">checked="checked"</if> />电影&nbsp;&nbsp;<input type="checkbox" name="hobby[]" value="3"<if value="in_array(3,$userinfo['hobby'])">checked="checked"</if> />酒店&nbsp;&nbsp;<input type="checkbox" name="hobby[]" value="4"<if value="in_array(4,$userinfo['hobby'])">checked="checked"</if> />休闲娱乐&nbsp;&nbsp;<input type="checkbox" name="hobby[]" value="5" <if value="in_array(5,$userinfo['hobby'])">checked="checked"</if>/>丽人&nbsp;&nbsp;<input type="checkbox" name="hobby[]" value="6"<if value="in_array(6,$userinfo['hobby'])">checked="checked"</if> />旅游&nbsp;&nbsp;<input type="checkbox" name="hobby[]" value="7"<if value="in_array(7,$userinfo['hobby'])">checked="checked"</if> />购物&nbsp;&nbsp;
				</div>
				<div class="btn"><input type="submit" value="保存" /></div>
				</form>
			</div>
			
		</div>

	</div>
</div>
<!-- 主体部分 结束 -->

<load file="__PUBLIC__/footer.html"/>
</body>
</html>